package lab02.Test05;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Cube c=new Cube();
        System.out.println("请输入长宽高：");
        c.setCube(sc.nextFloat(),sc.nextFloat(),sc.nextFloat());
        c.volume();
    }
}
